<style>
  .basemenus2_tableWidth {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 28px;
    padding-bottom:20px;
	border-collapse:collapse;
  }
  .basemenus2_standardCell {
    width: 160px;
    text-align: center;
  }
  .basemenus2_cell1 {
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 10px;
  }
  .basemenus2_cell2 {
    width: 40px;
    text-align: left;
    vertical-align: middle;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 0 0 3px 0;
  }
  .basemenus2_remainCell1 {
    width: 400px;
  }
  .basemenus2_remainCell3 {
    width: 398px;
  }
  .basemenus2_div {
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 40px;
    margin:0 0 33px 0;
  }
  .basemenus2_table5 {
    background-color: #e6ede7;
    height: 24px;
    text-align:left
    border-right:solid 1px #8c908c;
    border-bottom:solid 1px #8c908c;
  }
</style>

{{*/*-----------------Tasks------------------------*/*}}
{{if $menu->a == 1}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageb1deletecus&m={%22a%22:1,%22b%22:1,%22c%22:1}';">
          <a href="?p=pageadmin&t=pageb1deletecus&m={%22a%22:1,%22b%22:1,%22c%22:1}">Deleted Item</a>
        </td>
        <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pagepaymentbonus&m={%22a%22:1,%22b%22:2}';">
          <a href="?p=pageadmin&t=pagepaymentbonus&m={%22a%22:1,%22b%22:2}">Unpaid Commission</a>
        </td>
        <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageoverduetasks&m={%22a%22:1,%22b%22:3}';">
          <a href="?p=pageadmin&t=pageoverduetasks&m={%22a%22:1,%22b%22:3}">Late Work</a>
        </td>
		<td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageb1adminalltasks&m={%22a%22:1,%22b%22:4,%22c%22:1}';">
          <a href="?p=pageadmin&t=pageb1adminalltasks&m={%22a%22:1,%22b%22:4,%22c%22:1}">All Tasks</a>
        </td>
		<td>
        </td>
      </tr>
    </table>
  </div>
{{/if}}
  
  {{if $menu->a == 3}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td  {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pagewakkanoworkingdate&m={%22a%22:3,%22b%22:1}';">
          <a href="?p=pageadmin&t=pagewakkanoworkingdate&m={%22a%22:3,%22b%22:1}">No Wedding Day</a>
        </td>
        <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}';">
           <a href="?p=pageadmin&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}">Receipt Issue</a>
        </td>
        <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageb1payment&m={%22a%22:3,%22b%22:3,%22e%22:1}';">
           <a href="?p=pageadmin&t=pageb1payment&m={%22a%22:3,%22b%22:3,%22e%22:1}">Misc</a>
        </td>
        <td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageweddingwithintwomonths&m={%22a%22:3,%22b%22:4}';">
           <a href="?p=pageadmin&t=pageweddingwithintwomonths&m={%22a%22:3,%22b%22:4}">Wedding Within 2 Months</a>
        </td>        
        <td {{if $menu->b == 5}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pageadmin&t=pageweddingwithintwomonths&m={%22a%22:3,%22b%22:4}';">
           <a href="?p=pageadmin&t=pageweddingwithintwomonths&m={%22a%22:3,%22b%22:5}">Wedding Within 3 Weeks</a>
        </td>   
        <td>
        </td>
      </tr>
    </table>
  </div>
{{/if}}

{{*/*-----------------Customers------------------------*/*}}
{{if $menu->a == 2}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageasst&t=pagecustomers&m={%22a%22:2,%22b%22:1}';">
          <a href="?p=pageadmin&t=pagecustomers&m={%22a%22:2,%22b%22:1}">Manage Customers</a>
        </td>
        <!--<td {{if $menu->b == 2}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageasst&t=pagecustomer&m={%22a%22:2,%22b%22:2}';">
          <a href="?p=pageadmin&t=pagecustomer&m={%22a%22:2,%22b%22:2}">Add New Customer</a>
        </td>-->
        <td></td>
      </tr>
    </table>
  </div>
{{/if}}
  
  {{*/*-----------------I & E------------------------*/*}}
  {{if $menu->a == 4}}
    <div align="center">
      <table class="basemenus2_tableWidth">
        <tr>
          <td {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageiecustomerall&m={%22a%22:4,%22b%22:1,%22c%22:1,%22d%22:1}';">
             <a href="?p=pageadmin&t=pageiecustomerall&m={%22a%22:4,%22b%22:1,%22c%22:1,%22d%22:1}">Income</a>
          </td>
          <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageexpense&m={%22a%22:4,%22b%22:2,%22c%22:1}';">
            <a href="?p=pageadmin&t=pageexpense&m={%22a%22:4,%22b%22:2,%22c%22:1}">Expense</a>
          </td>
          <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagesumall&m={%22a%22:4,%22b%22:3,%22c%22:1}';">
            <a href="?p=pageadmin&t=pagesumall&m={%22a%22:4,%22b%22:3,%22c%22:1}">Summarize</a>
          </td>
          <td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagestatpackage&m={%22a%22:4,%22b%22:4,%22c%22:1}';">
            <a href="?p=pageadmin&t=pagestatpackage&m={%22a%22:4,%22b%22:4,%22c%22:1}">Statistics</a>
          </td>
          <td {{if $menu->b == 5}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagecomparisonbymonth&m={%22a%22:4,%22b%22:5,%22c%22:1}';">
            <a href="?p=pageadmin&t=pagecomparisonbymonth&m={%22a%22:4,%22b%22:5,%22c%22:1}">Comparison</a>
          </td>
          <td class=""></td>
        </tr>
      </table>
    </div>
  {{/if}}

{{*/*-----------------BackEnd------------------------*/*}}
  {{if $menu->a == 5}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendusers&m={%22a%22:5,%22b%22:1}';">
          <a href="?p=pageadmin&t=pagebackendusers&m={%22a%22:5,%22b%22:1}">Manage Users</a>
        </td>
        <td {{if $menu->b == 2}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendsamples&m={%22a%22:5,%22b%22:2}';">
          <a href="?p=pageadmin&t=pagebackendsamples&m={%22a%22:5,%22b%22:2}">Manage Products</a>
        </td>
        <td {{if $menu->b == 3}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendpackages&m={%22a%22:5,%22b%22:3}';">
          <a href="?p=pageadmin&t=pagebackendpackages&m={%22a%22:5,%22b%22:3}">Manage Packages</a>
        </td>
        <td {{if $menu->b == 4}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendculturals&m={%22a%22:5,%22b%22:4}';">
          <a href="?p=pageadmin&t=pagebackendculturals&m={%22a%22:5,%22b%22:4}">Manage Culturals</a>
        </td>
        <td {{if $menu->b == 5}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendceremonys&m={%22a%22:5,%22b%22:5}';">
          <a href="?p=pageadmin&t=pagebackendceremonys&m={%22a%22:5,%22b%22:5}">Manage Ceremonys</a>
        </td>
        <td></td>
      </tr>
      <tr>
        <td {{if $menu->b == 6}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendreceptions&m={%22a%22:5,%22b%22:6}';">
          <a href="?p=pageadmin&t=pagebackendreceptions&m={%22a%22:5,%22b%22:6}">Manage Receptions</a>
        </td>
        <td {{if $menu->b == 7}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendsources&m={%22a%22:5,%22b%22:7}';">
          <a href="?p=pageadmin&t=pagebackendsources&m={%22a%22:5,%22b%22:7}">Manage Sources</a>
        </td>
        <td {{if $menu->b == 8}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendcontracts&m={%22a%22:5,%22b%22:8}';">
          <a href="?p=pageadmin&t=pagebackendcontracts&m={%22a%22:5,%22b%22:8}">Manage Contracts</a>
        </td>
        <td {{if $menu->b == 9}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendpayees&m={%22a%22:5,%22b%22:9}';">
          <a href="?p=pageadmin&t=pagebackendpayees&m={%22a%22:5,%22b%22:9}">Manage Payees</a>
        </td>
        <td {{if $menu->b == 10}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pageadmin&t=pagebackendparticulars&m={%22a%22:5,%22b%22:10}';">
          <a href="?p=pageadmin&t=pagebackendparticulars&m={%22a%22:5,%22b%22:10}">Manage Particulars</a>
        </td>
        <td></td>
      </tr>
    </table>
  </div>
{{/if}}